* xterm.c (x_catch_errors, x_clear_errors): Use SSET.
authorKen Raeburn <raeburn@raeburn.org>
Tue, 16 Jul 2002 15:50:09 +0000 (15:50 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Tue, 16 Jul 2002 15:50:09 +0000 (15:50 +0000)
src/xterm.c

index 5796ff9e8b96543915af90b1d63a99d02eb85f31..b0b52ebbdf3377ff3573b55e8619730351a6b78f 100644 (file)
@@ -12131,7 +12131,7 @@ x_catch_errors (dpy)
   record_unwind_protect (x_catch_errors_unwind, x_error_message_string);
 
   x_error_message_string = make_uninit_string (X_ERROR_MESSAGE_SIZE);
-  SREF (x_error_message_string, 0) = 0;
+  SSET (x_error_message_string, 0, 0);
 
   return count;
 }
@@ -12181,7 +12181,7 @@ void
 x_clear_errors (dpy)
      Display *dpy;
 {
-  SREF (x_error_message_string, 0) = 0;
+  SSET (x_error_message_string, 0, 0);
 }
 
 /* Stop catching X protocol errors and let them make Emacs die.